﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using WorkflowCore2210A.Domain.Model;

namespace WorkflowCore2210A.Application.Dto.Input
{
    /// <summary>
    /// 流程定义-输入参数
    /// </summary>
    public class WorkflowDefinitionInput
    {
        /// <summary>
        /// 流程设计标题
        /// </summary>
        public string Title { get; set; }
        /// <summary>
        /// 流程设计的标识ID(在同一个版本下，流程设计表中必须唯一)
        /// </summary>
        public string DefinitionId { get; set; }
        public int Version { get; set; } = 1;

        /// <summary>
        /// 执行的步骤
        /// </summary>
        public List<StepNode> Steps { get; set; }
    }
}
